﻿using System;
using System.Reflection;

using RRRSRoguelike.Helpers;
using RRRSRoguelike.Managers;

namespace RRRSRoguelike
{

	/// <summary>
	/// Main entry point.
	/// </summary>
	class RRRSRogueLike
	{
		/// <summary>
		/// Main Entry Point
		/// </summary>
		/// <param name="args"></param>
		private static void Main(string[] args)
		{

			//Set localization for culture
			Language.NewLanguage(Properties.Settings.Default.Culture);
			
			//Set width height and title of console.
			ConsoleSpecific.SetUpConsole("RRRSAncientBlade" + " v" + Assembly.GetEntryAssembly().GetName().Version);					

			//Save custom content folder to my documents if missing.
			Language.PrepareContentFolder();
			
			//Run the fun.
			ApplicationManager.Instance.Run();

		}


	}
}

